<div class="FilterBlock">
    <?php if($this->actionName != 'access-list'){?>
        <h1 style="padding-top: 0pt;"><?php echo $this->trans->_('admin_users_main_label'); ?></h1>
    <?php } else { ?>
        <h1 style="padding-top: 0pt;"><?php echo $this->trans->_('access_list'); ?></h1>
    <?php } ?>
    <div style="margin: 10px 0;">
        
        <?php if($this->actionName != 'access-list'){?>
            <?php if (Admin_Model_AclAdmin::isPerm('controller-action', 'admin-users_create') ){ ?>
                <a href="javascript: void(0)" rel="get-ajax-data-user||insert|400" onclick="globalModule.getAction(this)"><?php echo $this->trans->_('user_create'); ?></a>&nbsp;&nbsp;&nbsp;
            <?php } ?>
            <?php if (Admin_Model_AclAdmin::isPerm('controller-action', 'admin-users_create') ){ ?>
                <a href="/admin/admin-users/access-list/back/<?php echo GetSnippets::codeUrl('|back_to_users') ?>"><?php echo $this->trans->_('access_list'); ?></a>&nbsp;&nbsp;&nbsp;
            <?php } ?>
        <?php } else {  ?>
                <?php if (Admin_Model_AclAdmin::isPerm('controller-action', 'admin-users_create') ){ ?>
                    <a href="javascript: void(0)" rel="create-new-group|||350" onclick="globalModule.getAction(this)"><?php echo $this->trans->_('create_group'); ?></a>&nbsp;&nbsp;&nbsp;
                <?php } ?>
                <?php if (Admin_Model_AclAdmin::isPerm('controller-action', 'admin-resurce_edit') ){ ?>
                    <a href="#" onclick="globalModule.editResource()"><?php echo $this->trans->_('edit_resource'); ?></a>
                <?php } ?>
        <?php } ?>
        &nbsp;&nbsp;&nbsp;<?php echo GetSnippets::deCodeUrl($this->back, 'zero') ?>
    </div>

</div>